<title>Fondo: <? echo $Modificar;?></title>
<link href="estilacho.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.Estilo1 {color: #000000}
a:link {
	color: #993300;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #993300;
}
a:hover {
	text-decoration: none;
	color: #993300;
}
a:active {
	text-decoration: none;
	color: #FF0000;
}
-->
</style>
<BODY> 
<?
	include 'conexion.php';
   extract($_POST);
    extract($_GET);
 /*  $base= "ucg - copia";
	$conexion = mysql_connect("localhost","root","");
	mysql_select_db($base,$conexion);	*/
	$resultado=mysql_query("SELECT * FROM fondo WHERE cod_fondo='$Modificar'",$conexion);

	$registro = mysql_fetch_array($resultado);
	?>
<form name="form1" method="post" action="modificar_fondo.php">
  <table border="0" align="center" class="tablainstitucion">
<? echo "<input type=hidden name='Modificar' value='$Modificar'>";?>
    <tr bordercolor="#FFFFFF" bgcolor="#000000">
      <th colspan="3" align="center" valign="middle" bgcolor="#FFFFFF">MODIFICAR Y  CONSULTAR FONDOS</th>
    </tr>
    <tr bordercolor="#FFFFFF" bgcolor="#000000">
      <td align="center" valign="middle" bgcolor="#FFFFFF">Fondo N&ordm;</td>
      <td align="center" valign="middle" bgcolor="#FFFFFF">Fecha</td>
      <td align="center" valign="middle" bgcolor="#FFFFFF">Cuenta</td>
    </tr>
    <tr>
      <td align="center" valign="middle"><input name="fondo" type="text" disabled class="entrada" id="fondo" value="<? echo $registro[1]; ?>" size="20"></td>
      <td align="center" valign="middle">
<input name="fecha" type="text" class="entrada" id="fecha" value="<? echo $registro[2]; ?>"></td>
      <td align="center" valign="middle"><span class="style7">
        <input name="detalle" type="text" disabled class="entrada" id="detalle" value="<? echo $registro[4] ?>" size="50">
      </span></td>
    </tr>
    <tr>
      <td align="center" valign="middle">Monto</td>
      <td align="center" valign="middle">Segun Orden de Pago</td>
      <td align="center" valign="middle">N&ordm; del Cheque</td>
    </tr>
    <tr>
      <td align="center" valign="middle">
      <input name="monto" type="text" class="entrada" id="monto" value="<? echo $registro[5]; ?>" size="20"></td>
      <td align="center" valign="middle">
      <input name="pago" type="text" class="entrada" id="pago" value="<? echo $registro[6]; ?>" size="20"></td>
      <td align="center" valign="middle">
      <input name="cheque" type="text" class="entrada" id="cheque" value="<? echo $registro[7]; ?>" size="20"></td>
      <td>&nbsp;</td>
    </tr>
  </table>
  <div align="center">
     <input name="proveedor" type="submit" class="boton" id="proveedor" value="Modificar Fondos">
     <input name="ano" type="hidden" id="ano" value="<? echo $ano; ?>">
  </div>
</form>
   <div align="center"> <a href="consulta_fondo_gen0.php?<?// echo 'ano='.$ano.'&Modificar='.$Modificar; ?> ">Regresar</a></div>
</BODY>
 </HTML>

